﻿@echo off

echo 正在备份oracle数据库，请稍等。。。。。。

cd D:
cd D:\app\Administrator\product\11.2.0\dbhome_1\BIN
set NLS_LANG=AMERICAN_AMERICA.AL32UTF8

set /A bfrq = %date:~10,4%%date:~4,2%%date:~7,2%
set /A bfsj = %time:~0,2%%time:~3,2%

md D:\backupDB\DB\%bfrq%


exp accounting/vipg@DBOVIP2 file=D:\backupDB\DB\%bfrq%\accounting_%bfrq%%bfsj%.dmp log=D:\backupDB\DB\%bfrq%\accounting_log_%bfrq%%bfsj%.log owner=accounting



echo 任务完成！﻿@echo off

echo 正在备份oracle数据库，请稍等。。。。。。

cd D:
cd D:\app\Administrator\product\11.2.0\dbhome_1\BIN
set NLS_LANG=AMERICAN_AMERICA.AL32UTF8

set /A bfrq = %date:~10,4%%date:~4,2%%date:~7,2%
set /A bfs